package com.wgchao.authmanager.query.specification;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.io.Serializable;

/**
 * @ClassName: UserInfoSpec
 * @author: wgchao
 * @createTime: 2020/5/7 11:19 AM
 * @Description: TODO
 */
@Data
@NoArgsConstructor
@ToString
@ApiModel(value = "userInfoCriteria", description = "账户批量查询过滤条件(继承分页)")
public class UserInfoCriteria extends PageParam implements Serializable {

    @ApiModelProperty(value = "账户名", required = false, allowEmptyValue = true,
            name = "uname")
    private String uname;

    @ApiModelProperty(value = "账户名称", required = false, allowEmptyValue = true,
            name = "name")
    private String name;

    @ApiModelProperty(value = "账户状态是否可用", required = false, allowEmptyValue = true,
            name = "disabled")
    private Boolean disabled;

    @ApiModelProperty(value = "机构编号(系统管理员专有)", required = false, allowEmptyValue = true,
            name = "agencyCode")
    private String agencyCode;

}
